package hg.demo.mock.validator;

import hg.framework.validators.annotation.HgPhone;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class ValiParam {

    @NotEmpty(message = "姓名,必填")
    private String name;

    @HgPhone
    private String phone;
}
